package uk.co.revisual.creation
{
	/**
	 * @author revisual.co.uk
	 * 
	 * Extends the Creatable interface,, to allow items to be added to a factory
	 */
	public interface DynamicClassFactory extends Creatable
	{
		/**
		 * adds an item to the factory 
		 * @param item the item to add
		 * @return whether the item has been added to the factory successfully
		 * 
		 */
		function addClass( item:Object ):Boolean
			
		/** 
		 * Check for whether the factory contains an item
		 * @param item the item to test for
		 * @return the result
		 * 
		 */
		function hasClass( item:Object ):Boolean
	}
}